<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
<script type="text/javascript" src="${ctx}/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.jqprint-0.3.js"></script>
</head>
<body>
<div  id="table_form_div" class="table_form1">
<table class="table-form" width="100%">
   <tbody>
	   	  <tr>
				<td style="height:25px;"colspan="7"><span style="padding-left:10px;"]><img  src="${ctx}/images/hailiang.png" style="height:20px;"/></span>
				<span style="font-size:16px;folat:left;clear:both;">海梁信息科技电子单</span></td>
			</tr>
			<tr>
				<td colspan="7"  class="table-td" style="font-size:20px;text-align:center">车辆基本信息</td>
			</tr>
			<tr>
				<td colspan="7"  class="table-td" style="height:26px;font-size:15px;text-align:right;padding-right:15px;">
					日期:<fmt:formatDate value="${entity.createTime}" pattern="yyyy-MM-dd"/>
				</td>
			</tr>
	      <tr>
	      	  <td class="table-th" width="15%" style="height:36px;font-size:15px;">单位名称</td>
	      	  <td width="35%" colspan="2" class="table-td" style="font-size:15px;height:36px;">
					${entity.company.name }
				</td>	
		       <td width="10%" class="table-th" style="height:36px;font-size:15px;">车牌号</td>
		       <td class="table-td" width="15%" style="height:36px;font-size:15px;">
		       	${entity.licenseNum}
		       </td>
		        <td  width="10%" class="table-th" style="height:36px;font-size:15px;">车牌颜色 </td>
	           <td class="table-td"  width="15%" style="height:36px;font-size:15px;">
	           		<c:if test="${entity.carType==1 }">
	           		黄色
	           		</c:if>
	           		<c:if test="${entity.carType==2 }">
	           		蓝色
	           		</c:if>
	           </td>
		  </tr>
		  <tr>
		  	  <td class="table-th" width="15%" style="height:36px;font-size:15px;">经营许可证</td>
	      	  <td colspan="2" class="table-td" style="font-size:15px;height:36px;">${entity.company.bussinessLicenseNum }</td>
		       <td  width="10%" class="table-th" style="font-size:15px;height:36px;">挂车牌号</td>
	         　	 　<td class="table-td" width="15%" style="height:36px;font-size:15px;">
	         	${entity.licenseNum2}
		       </td>
	    　
	　
		   <td  width="10%" class="table-th" style="height:36px;font-size:15px;">车辆类型</td>
		       <td class="table-td"  width="15%" style="font-size:15px;height:36px;"> 
		       		${entity.carCategory.name }
			   </td>
		 </tr>
		 <tr>
		 	<td width="15%" class="table-th" style="height:36px;font-size:15px;">载质量</td>
		 	<td class="table-td" colspan="2" style="height:36px;font-size:15px;">${entity.carryCapacity } (kg)</td>
		    <td width="10%" class="table-th" style="height:36px;font-size:15px;">罐体年检有效期</td>
		    <td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.tankExamTime}">
					<fmt:formatDate value="${entity.tankExamTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		    <td width="10%" class="table-th" style="height:36px;font-size:15px;">道路运输证年审有效期</td>
			 <td class="table-td" width="15%" style="height:36px;font-size:15px;">
		      	 <c:if test="${not empty transLicenseExamTime }">
		      	 	<fmt:formatDate value="${entity.transLicenseExamTime}" pattern="yyyy-MM-dd"/>
		      	 </c:if>
			 </td>  
		 </tr>
	 
		 <tr>
		 	<td width="15%" class="table-th" style="height:36px;font-size:15px;">经营范围</td>
		 	<td class="table-td" colspan="2" style="height:36px;font-size:15px;"> ${entity.bussinessScope }</td>
		 	<td width="10%" class="table-th" style="height:36px;font-size:15px;">技术等级评定有效期</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.techicalGradeTime}">
					<fmt:formatDate value="${entity.techicalGradeTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		    <td width="10%" class="table-th" style="height:36px;font-size:15px;">行驶证年审有效期</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.driveExamTime}">
					<fmt:formatDate value="${entity.driveExamTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		 </tr>
		 <tr>
		 	<td width="15%" class="table-th" style="height:36px;font-size:15px;">卫星定位系统营运商</td>
		 	<td class="table-td" colspan="2" style="height:36px;font-size:15px;"> ${entity.satelliteSupplier }</td>
		 	<td width="10%" class="table-th" style="height:36px;font-size:15px;">二级维护有效期</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.secondMaintenanceTime}">
					<fmt:formatDate value="${entity.secondMaintenanceTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		    <td width="10%" class="table-th" style="height:36px;font-size:15px;">其他车辆</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        
		    </td>
		</tr>	  　
		<tr>
		 	<td width="15%" class="table-th" style="height:36px;font-size:15px;">强制保险有效期</td>
		 	<td class="table-td" colspan="2" style="height:36px;font-size:15px;">
		 		<c:if test="${not empty entity.forcedInsuranceTime}">
					<fmt:formatDate value="${entity.forcedInsuranceTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		 	</td>
		 	<td width="10%" class="table-th" style="height:36px;font-size:15px;">第三者责任险有效期</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.thirdInsuranceTime}">
					<fmt:formatDate value="${entity.thirdInsuranceTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		    <td width="10%" class="table-th" style="height:36px;font-size:15px;">承运人责任险有效期</td>
		 	<td  class="table-td" width="15%" style="height:36px;font-size:15px;">
		        <c:if test="${not empty entity.carrierInsuranceTime}">
					<fmt:formatDate value="${entity.carrierInsuranceTime}" pattern="yyyy-MM-dd"/>
			    </c:if> 	
		    </td>
		</tr>
		<tr>
	           <td  width="15%" class="table-th" style="height:36px;font-size:15px;">驾驶员姓名</td>
	           <td class="table-td"  width="20%" style="font-size:15px;height:36px;">${entity.driver.name }</td>
	           <td class="table-td" rowspan="4" width="15%" style="text-align:center;">
	           		<c:choose>
						<c:when test="${not empty driver.photo }">
							<img id="driver_photo" src="${ctx}/upload/${driver.photo}" style="width: 150px; height: 180px;" />
						</c:when>
						<c:otherwise>
							<img id="driver_photo" src="${ctx}/images/organ/nophoto.gif" style="width: 150px; height: 180px;" />
						</c:otherwise>
					</c:choose>
	           </td>
	           <td  width="10%" class="table-th" style="height:36px;font-size:15px;">押运员姓名</td>
	           <td class="table-td"  colspan="2" style="font-size:15px;height:36px;">${entity.escort.name}</td>
	            <td class="table-td" rowspan="4" width="25%" style="text-align:center;">
	            		<c:choose>
						<c:when test="${not empty escort.photo }">
							<img id="driver_photo" src="${ctx}/upload/${escort.photo}" style="width: 150px; height: 180px;" />
						</c:when>
						<c:otherwise>
							<img id="driver_photo" src="${ctx}/images/organ/nophoto.gif" style="width: 150px; height: 180px;" />
						</c:otherwise>
					</c:choose>
	            </td>
	       </tr>
	       <tr>
	    	<td  width="15%" class="table-th" style="font-size:15px;height:36px;">驾驶证</td>
	    	<td class="table-td"  width="20%" style="font-size:15px;height:36px;">${driver.driverLiceseNum}</td>
			<td width="10%" class="table-th" style="height:36px;font-size:15px;">从业资格证</td>							
			<td class="table-td" colspan="2" style="font-size:15px;height:36px;">${escort.superCargoNum}</td>						
	       </tr>
		    <tr>
		    	<td width="15%" class="table-th" style="height:36px;font-size:15px;">从业资格证</td>	
		    	<td width="20%" class="table-td" style="height:36px;font-size:15px;">${driver.driverQuaCertNum }</td>
		    	<td  width="10%" class="table-th" style="height:36px;font-size:15px;">联系电话</td>
		    	<td class="table-td"  colspan="2" style="height:36px;font-size:15px;">${escort.contractPhone}</td>
		    </tr>
		    <tr>
		    	<td  width="15%" class="table-th" style="height:36px;font-size:15px;">联系电话</td>
		    	<td class="table-td"  width="20%" style="height:36px;font-size:15px;">${driver.contractPhone}</td>
		    	<td  width="10%" class="table-th" style="height:36px;font-size:15px;"></td>
		    	<td  colspan="2" class="table-td" style="height:36px;font-size:15px;"></td>
		    </tr>
		    <tr>
		    	<td width="15%" class="table-th" style="height:36px;font-size:15px;">备注</td>
		    	<td colspan="6"  class="table-td" style="height:36px;font-size:15px;">${entity.remark }</td>
		    </tr>
		    <tr>
		    	<td colspan="7" class="table-td">附：车辆相关证件</td>
		    </tr>  　	  　
		</tbody>
	</table>
	</div>
  </body>
 </html>
	  